package jroguelike.main;

/**
 * Created by IntelliJ IDEA.
 * User: aimozg
 * Date: 06.08.11
 * Time: 14:39
 */
public enum Attribute {
	STRENGTH("Strength", "ST", "Affects carried weight, melee damage, and useable weapons"),
	PERCEPTION("Perception", "PE", "Affects visible range and ranged accuracy"),
	ENDURANCE("Endurance", "EN", "Affects hit points and poison/disease/radiation resistance"),
	CHARISMA("Charisma", "CH", "Affects number of mercenaries and companions"),
	INTELLIGENCE("Intelligence", "IN", "Affects skill points"),
	AGILITY("Agility", "AG", "Affects action points, melee accuracy, dodge chance"),
	LUCK("Luck", "LK", "Affects all skills, critical chances, and loot quantity");
	public static final Attribute[] ALL = values();
	public static final int COUNT = ALL.length;
	public final String longName;
	public final String shortName;
	public final String description;

	Attribute(String longName, String shortName, String description) {
		this.longName = longName;
		this.shortName = shortName;
		this.description = description;
	}
}
